package com.oop.demo04;

public class A  extends  B{
    //方法重写
    @Override
    public void test() {
        System.out.println("A.test()");
    }
}
